package org.xinjiang.tarim.travel.model;

import java.util.Date;

public class User {
    private String openid;

    private String nickname;

    private Integer gender;

    private String country;

    private String province;

    private String city;

    private String phone;

    private Date createTime;

    private Date modifyTime;

    private String avatarUrl;

    public User(String openid, String nickname, Integer gender, String country, String province, String city, String phone, Date createTime, Date modifyTime, String avatarUrl) {
        this.openid = openid;
        this.nickname = nickname;
        this.gender = gender;
        this.country = country;
        this.province = province;
        this.city = city;
        this.phone = phone;
        this.createTime = createTime;
        this.modifyTime = modifyTime;
        this.avatarUrl = avatarUrl;
    }

    public User() {
        super();
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid == null ? null : openid.trim();
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname == null ? null : nickname.trim();
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country == null ? null : country.trim();
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province == null ? null : province.trim();
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city == null ? null : city.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getAvatarUrl() {
        return avatarUrl;
    }

    public void setAvatarUrl(String avatarUrl) {
        this.avatarUrl = avatarUrl == null ? null : avatarUrl.trim();
    }
}